home *** CD-ROM | disk | FTP | other *** search
- Path: wilks.demon.co.uk!Ian
- From: Ian M Wilks <Ian@wilks.demon.co.uk>
- Newsgroups: comp.lang.c++
- Subject: Re: goto command
- Date: Fri, 19 Apr 1996 00:57:20 +0100
- Organization: Ian
- Distribution: world
- Message-ID: <NF+QRCAgbtdxEwkm@wilks.demon.co.uk>
- References: <4k9vne$9lu@nntp.igs.net>
- NNTP-Posting-Host: wilks.demon.co.uk
- X-NNTP-Posting-Host: wilks.demon.co.uk
- MIME-Version: 1.0
- X-Newsreader: Turnpike Version 1.10 <xKZkCHGGMISoFYLnpOdd648JTZ>
-
- In article <4k9vne$9lu@nntp.igs.net>, Pierre Brazeau <p007@cnwl.igs.net>
- writes
- >Hello, my name is Mathieu Brazeau and i am having major trouble trying to
- >return the program to a specific area in the program that i want. Like i
- >have my program do somthing and i want it to go back to the begining so i
- >can choose it to do anyother option.
- >
-
-
- Why use goto?
- Use a switch statement in a while loop.
-
- --
- Ian
-